package com.wyclabs.commons.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author YichuanWang
 * @date 2019/10/16 13:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Slf4j
public class PageResult<T> extends BaseResult {

    @ApiModelProperty("数据列表")
    private List<T> data;

    @ApiModelProperty("数据总条数")
    private int total;


}
